MotoPress\Appointment\Entities\Coupon S

Total Complexity 33
Dependencies 4
Dependents 7
Total lines 192
Lines of code 81
Logical lines of code 33
Comment lines 54
Methods 19
Properties 11

Methods 19

Method Rating Maintainability Complexity Lines of code
isApplicableForReservation()
S
61 7 12
isApplicableForBooking()
S
64 4 11
isValid()
S
73 3 5
increaseUsageCount()
S
71 2 6
isExceededUsageLimit()
S
79 2 3
isExpired()
S
74 2 4
getStatus()
S
82 1 3
getUsageCount()
S
82 1 3
isPublic()
S
80 1 3
getUsageLimit()
S
82 1 3
getCode()
S
82 1 3
getMaxDate()
S
82 1 3
getMinDate()
S
82 1 3
getServiceIds()
S
82 1 3
getExpirationDate()
S
82 1 3
getAmount()
S
82 1 3
getType()
S
82 1 3
getDescription()
S
82 1 3
__get()
S
75 1 4